﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListViewPermissions.aspx.cs" Inherits="SharePointListSecurity.Layouts.SharePointListSecurity.ViewPermissions" DynamicMasterPageFile="~masterurl/default.master" %>


<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Meetings" Namespace="Microsoft.SharePoint.Meetings" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="SharePointListSecurity.Model" %>
<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <SharePoint:CssRegistration ID="CssRegistration1" Name="SharepointListSecurity/Style.css" runat="server" />
</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <table style="width: 100%; height: 100%" class="ms-settingsframe ms-listedit" border="0" cellspacing="0" cellpadding="0">
        <tbody>
            <tr>
                <td width="100%">
                    <table cellspacing="3" cellpadding="0" width="100%">
                        <tbody>
                            <tr height="10">
                                <td style="padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px" id="TD1" class="ms-linksectionheader" colspan="4">
                                    <h3 class="ms-standardheader">
                                        <asp:Literal ID="Literal1" runat="server" Text="View Permissions" />
                                    </h3>
                                </td>
                            </tr>
                            <tr>
                                <td id="TD2" class="ms-descriptiontext ms-listedit-sectiondescription" valign="top"
                                    colspan="4">
                                    <asp:Literal ID="Literal2" runat="server" Text="View Permission Description" />
                                </td>
                            </tr>
                            <tr>
                                <td class="ms-gb" colspan="4">
                                    <table border="0" cellspacing="0" summary="Tasks" cellpadding="0" width="100%">
                                        <tbody class="columnPermissions">
                                            <tr>
                                                <th id="1600" class="ms-vh2-nofilter" width="25%" scope="col">
                                                    <asp:Literal ID="Literal3" runat="server" Text="View Click" />
                                                </th>
                                                <th id="Th3" class="ms-vh2-nofilter" width="25%" scope="col">
                                                    <asp:Literal ID="Literal4" runat="server" Text="Permissions" />
                                                </th>
                                            </tr>
                                            <!-- HTML View-->
                                            <%
                                                if (!fHideStandardViewOption)
                                                {
                                            %>
                                            <tr class="rowClass">
                                                <td class="ms-vb2">
                                                    <table>
                                                        <tr>
                                                            <td valign="top" width="1%">
                                                                <table border="0" cellspacing="0" cellpadding="0" style="padding-top: 2px">
                                                                    <tr>
                                                                        <td>
                                                                            <a href="<%EditViewPermissionPath(ViewFormat.StandardView);%>" id='onetCategoryHTMLimg' tabindex='-1'>
                                                                                <img runat="server" border="0" src="/_layouts/images/ituser.gif" />
                                                                            </a>
                                                                        </td>
                                                                        <td width="4px">
                                                                            <img src="/_layouts/images/blank.gif" width='4' height='1' alt="" /></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td class="ms-vb" width="99%" valign="top" id="_spFocusHere">
                                                                <a href="#" id='onetCategoryHTML'>
                                                                    <SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" Text="<%$Resources:wss,viewtype_idViewType1%>" EncodeMethod='HtmlEncode' />
                                                                </a>
                                                                <br />
                                                                <SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" Text="<%$Resources:wss,viewtype_idViewType2%>" EncodeMethod='HtmlEncode' />
                                                                <br />
                                                                &#160;
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <%RenderPermissionView(); %>
                                            </tr>
                                            <% 
                                                }
                                            %>
                                            <%
                                                if (!fHideDiscussionViewsOption)
                                                {
                                            %>
                                            <tr>
                                                <!-- Subject View-->
                                                <td class="ms-vb2">
                                                    <table>
                                                        <tr>
                                                            <td valign="top" width="1%">
                                                                <table border="0" cellspacing="0" cellpadding="0" style="padding-top: 2px">
                                                                    <tr>
                                                                        <td>
                                                                            <a href="#" id='A1' tabindex='-1'>
                                                                                <img id="Img2" runat="server" border="0" alt="<%$Resources:wss,viewtype_subjectviewdesc%>" src="/_layouts/images/ituser.gif" />
                                                                            </a>
                                                                        </td>
                                                                        <td width="4px">
                                                                            <img src="/_layouts/images/blank.gif" width='4' height='1' alt="" />
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td class="ms-vb" width="99%" valign="top" id="Td3">
                                                                <a href="#" id='A2'>
                                                                    <SharePoint:EncodedLiteral ID="EncodedLiteral3" runat="server" Text="<%$Resources:wss,viewtype_subjectview%>" EncodeMethod='HtmlEncode' />
                                                                </a>
                                                                <br />
                                                                <SharePoint:EncodedLiteral ID="EncodedLiteral4" runat="server" Text="<%$Resources:wss,viewtype_subjectviewdesc%>" EncodeMethod='HtmlEncode' />
                                                                <br />
                                                                &#160;
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <%RenderPermissionView(); %>
                                            </tr>
                                            <!-- Threaded View-->
                                            <tr>
                                                <td class="ms-vb2">
                                                    <table>
                                                        <tr>
                                                            <td valign="top" width="1%">
                                                                <table border="0" cellspacing="0" cellpadding="0" style="padding-top: 2px">
                                                                    <tr>
                                                                        <td>
                                                                            <a href="#" id='A3' tabindex='-1'>
                                                                                <img id="Img3" runat="server" border="0" alt="<%$Resources:wss,viewtype_threadedviewdesc%>" src="/_layouts/images/ituser.gif" />
                                                                            </a>
                                                                        </td>
                                                                        <td width="4px">
                                                                            <img src="/_layouts/images/blank.gif" width='4' height='1' alt="" />
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td class="ms-vb" width="99%" valign="top" id="Td4">
                                                                <a href="#" id='A4'>
                                                                    <SharePoint:EncodedLiteral ID="EncodedLiteral5" runat="server" Text="<%$Resources:wss,viewtype_threadedview%>" EncodeMethod='HtmlEncode' />
                                                                </a>
                                                                <br />
                                                                <SharePoint:EncodedLiteral ID="EncodedLiteral6" runat="server" Text="<%$Resources:wss,viewtype_threadedviewdesc%>" EncodeMethod='HtmlEncode' />
                                                                <br />
                                                                &#160;
                                                            </td>
                                                        </tr>

                                                    </table>
                                                </td>
                                                <%RenderPermissionView(); %>
                                            </tr>
                                            <!-- Flat View-->
                                            <tr>
                                                <td class="ms-vb2">
                                                    <table>
                                                        <tr>
                                                            <td valign="top" width="1%">
                                                                <table border="0" cellspacing="0" cellpadding="0" style="padding-top: 2px">
                                                                    <tr>
                                                                        <td>
                                                                            <a href='<%SPHttpUtility.NoEncode(urlViewNew, Response.Output);%>&amp;BaseViewID=2' id='A5' tabindex='-1'>
                                                                                <img id="Img4" runat="server" border="0" alt="<%$Resources:wss,viewtype_flatviewdesc%>" src="/_layouts/images/ituser.gif" />
                                                                            </a>
                                                                        </td>
                                                                        <td width="4px">
                                                                            <img src="/_layouts/images/blank.gif" width='4' height='1' alt="" /></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td class="ms-vb" width="99%" valign="top" id="Td5">
                                                                <a href='<%SPHttpUtility.NoEncode(urlViewNew, Response.Output);%>&amp;BaseViewID=2' id='A6'>
                                                                    <SharePoint:EncodedLiteral ID="EncodedLiteral7" runat="server" Text="<%$Resources:wss,viewtype_flatview%>" EncodeMethod='HtmlEncode' />
                                                                </a>
                                                                <br />
                                                                <SharePoint:EncodedLiteral ID="EncodedLiteral8" runat="server" Text="<%$Resources:wss,viewtype_flatviewdesc%>" EncodeMethod='HtmlEncode' />
                                                                <br />
                                                                &#160;
                                                            </td>
                                                        </tr>

                                                    </table>
                                                </td>
                                                <%RenderPermissionView(); %>
                                            </tr>
                                            <%
                                                } 
                                            %>
                                            <%
                                                if (!fHideCalendarViewOption)
                                                {
                                            %>
                                            <!-- ALLITEMS View-->
                                            <tr>
                                                <td class="ms-vb2">
                                                    <table>
                                                        <tr>
                                                            <td valign="top" width="1%">
                                                                <table border="0" cellspacing="0" cellpadding="0" style="padding-top: 2px">
                                                                    <tr>
                                                                        <td>
                                                                            <a href='<%SPHttpUtility.NoEncode(urlViewNew, Response.Output);%>&amp;BaseViewID=1' id='A7' tabindex='-1'>
                                                                                <img id="Img5" runat="server" border="0" alt="<%$Resources:wss,viewtype_idViewType2%>" src="/_layouts/images/ituser.gif" />
                                                                            </a>
                                                                        </td>
                                                                        <td width="4px">
                                                                            <img src="/_layouts/images/blank.gif" width='4' height='1' alt="" /></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td class="ms-vb" width="99%" valign="top" id="Td6">
                                                                <a href='<%SPHttpUtility.NoEncode(urlViewNew, Response.Output);%>&amp;BaseViewID=1' id='A8'>
                                                                    <SharePoint:EncodedLiteral ID="EncodedLiteral9" runat="server" Text="<%$Resources:wss,viewtype_idViewType1%>" EncodeMethod='HtmlEncode' />
                                                                </a>
                                                                <br />
                                                                <SharePoint:EncodedLiteral ID="EncodedLiteral10" runat="server" Text="<%$Resources:wss,viewtype_idViewType2%>" EncodeMethod='HtmlEncode' />
                                                                <br />
                                                                &#160;
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <%RenderPermissionView(); %>
                                            </tr>
                                            <!-- RECURRENCE View-->
                                            <tr>
                                                <td class="ms-vb2">
                                                    <table>
                                                        <tr>
                                                            <td valign="top" width="1%">
                                                                <table border="0" cellspacing="0" cellpadding="0" style="padding-top: 2px">
                                                                    <tr>
                                                                        <td>
                                                                            <a href='<%SPHttpUtility.NoEncode(urlViewNew, Response.Output);%>&amp;RecurrenceRowset=True&amp;BaseViewID=3' id='A9' tabindex='-1'>
                                                                                <img id="Img6" runat="server" border="0" alt="<%$Resources:wss,viewtype_recviewdesc%>" src="/_layouts/images/ituser.gif" />
                                                                            </a>
                                                                        </td>
                                                                        <td width="4px">
                                                                            <img src="/_layouts/images/blank.gif" width='4' height='1' alt="" /></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td class="ms-vb" width="99%" valign="top" id="Td7">
                                                                <a href='<%SPHttpUtility.NoEncode(urlViewNew, Response.Output);%>&amp;RecurrenceRowset=True&amp;BaseViewID=3' id='A10'>
                                                                    <SharePoint:EncodedLiteral ID="EncodedLiteral11" runat="server" Text="<%$Resources:wss,viewtype_idViewType7%>" EncodeMethod='HtmlEncode' />
                                                                </a>
                                                                <br />
                                                                <SharePoint:EncodedLiteral ID="EncodedLiteral12" runat="server" Text="<%$Resources:wss,viewtype_recviewdesc%>" EncodeMethod='HtmlEncode' />
                                                                <br />
                                                                &#160;
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <%RenderPermissionView(); %>
                                            </tr>
                                            <!-- CALENDAR View for Calendar List-->
                                            <tr>
                                                <td class="ms-vb2">
                                                    <table>
                                                        <tr>
                                                            <td valign="top" width="1%">
                                                                <table border="0" cellspacing="0" cellpadding="0" style="padding-top: 2px">
                                                                    <tr>
                                                                        <td>
                                                                            <a href="#" id='onetCategoryCalendarimg' tabindex='-1'>
                                                                                <img id="Img7" runat="server" border="0" alt="<%$Resources:wss,viewtype_calviewdesc%>" src="/_layouts/images/calview.gif" />
                                                                            </a>
                                                                        </td>
                                                                        <td width="4px">
                                                                            <img src="/_layouts/images/blank.gif" width='4' height='1' alt="" /></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td class="ms-vb" width="99%" valign="top" id="Td8">
                                                                <a href="#" id='onetCategoryCalendar'>
                                                                    <SharePoint:EncodedLiteral ID="EncodedLiteral13" runat="server" Text="<%$Resources:wss,viewtype_calview%>" EncodeMethod='HtmlEncode' />
                                                                </a>
                                                                <br />
                                                                <SharePoint:EncodedLiteral ID="EncodedLiteral14" runat="server" Text="<%$Resources:wss,viewtype_calviewdesc%>" EncodeMethod='HtmlEncode' />
                                                                <br />
                                                                &#160;
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <%RenderPermissionView(); %>
                                            </tr>
                                            <%
                                                } 
                                            %>
                                            <!-- Grid View-->
                                            <%
                                                if (!fHideGridViewOption)
                                                {
                                            %>
                                            <tr>
                                                <td class="ms-vb2">
                                                    <table>
                                                        <tr>
                                                            <td valign="top" width="1%">
                                                                <table border="0" cellspacing="0" cellpadding="0" style="padding-top: 2px">
                                                                    <tr>
                                                                        <td>
                                                                            <a href='<%SPHttpUtility.NoEncode(urlViewNew, Response.Output);%>&amp;Grid=True' id='onetCategoryGirdimg' tabindex='-1'>
                                                                                <img id="Img8" runat="server" border="0" alt="<%$Resources:wss,viewtype_datasheetviewdesc%>" src="/_layouts/images/grid.gif" />
                                                                            </a>
                                                                        </td>
                                                                        <td width="4px">
                                                                            <img src="/_layouts/images/blank.gif" width='4' height='1' alt="" /></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td class="ms-vb" width="99%" valign="top" id="Td9">
                                                                <a href='<%SPHttpUtility.NoEncode(urlViewNew, Response.Output);%>&amp;Grid=True' id='onetCategoryGrid'>
                                                                    <SharePoint:EncodedLiteral ID="EncodedLiteral15" runat="server" Text="<%$Resources:wss,viewtype_datasheetview%>" EncodeMethod='HtmlEncode' />
                                                                </a>
                                                                <br />
                                                                <SharePoint:EncodedLiteral ID="EncodedLiteral16" runat="server" Text="<%$Resources:wss,viewtype_datasheetviewdesc%>" EncodeMethod='HtmlEncode' />
                                                                <br />
                                                                &#160;
                                                            </td>
                                                        </tr>
                                                    </table>

                                                </td>
                                                <%RenderPermissionView(); %>
                                            </tr>
                                            <%       
                                                }   
                                            %>
                                            <!-- Calendar View for other lists except Calendar List-->
                                            <%
                                                if (!fHideStandardViewOption && !fHideCalendarViewForNonCalendarOption)
                                                {
                                            %>
                                            <tr>
                                                <td class="ms-vb2">
                                                    <table>
                                                        <tr>
                                                            <td valign="top" width="1%">
                                                                <table border="0" cellspacing="0" cellpadding="0" style="padding-top: 2px">
                                                                    <tr>
                                                                        <td>
                                                                            <a href='<%SPHttpUtility.NoEncode(urlViewNew, Response.Output);%>&amp;Calendar=True' id='A11' tabindex='-1'>
                                                                                <img id="Img9" runat="server" border="0" alt="<%$Resources:wss,viewtype_calviewdesc%>" src="/_layouts/images/calview.gif" />
                                                                            </a>
                                                                        </td>
                                                                        <td width="4px">
                                                                            <img src="/_layouts/images/blank.gif" width='4' height='1' alt="" /></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td class="ms-vb" width="99%" valign="top" id="Td10">
                                                                <a href='<%SPHttpUtility.NoEncode(urlViewNew, Response.Output);%>&amp;Calendar=True' id='A12'>
                                                                    <SharePoint:EncodedLiteral ID="EncodedLiteral17" runat="server" Text="<%$Resources:wss,viewtype_calview%>" EncodeMethod='HtmlEncode' />
                                                                </a>
                                                                <br />
                                                                <SharePoint:EncodedLiteral ID="EncodedLiteral18" runat="server" Text="<%$Resources:wss,viewtype_calviewdesc%>" EncodeMethod='HtmlEncode' />
                                                                <br />
                                                                &#160;
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <%RenderPermissionView(); %>
                                            </tr>
                                            <%
                                                }
                                            %>
                                            <!-- Gantt View-->
                                            <%if (!fHideGanttViewOption)
                                              {
                                            %>
                                            <tr>
                                                <td class="ms-vb2">
                                                    <table>
                                                        <tr>
                                                            <td valign="top" width="1%">
                                                                <table border="0" cellspacing="0" cellpadding="0" style="padding-top: 2px">
                                                                    <tr>
                                                                        <td>
                                                                            <a href='<%SPHttpUtility.NoEncode(urlViewNew, Response.Output);%>&amp;Gantt=True' id='onetCategoryGanttimg' tabindex='-1'>
                                                                                <img id="Img10" runat="server" border="0" alt="<%$Resources:wss,viewtype_ganttviewdescription%>" src="/_layouts/images/ganttview.gif" />
                                                                            </a>
                                                                        </td>
                                                                        <td width="4px">
                                                                            <img src="/_layouts/images/blank.gif" width='4' height='1' alt="" /></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td class="ms-vb" width="99%" valign="top" id="Td11">
                                                                <a href='<%SPHttpUtility.NoEncode(urlViewNew, Response.Output);%>&amp;Gantt=True' id='onetCategoryGantt'>
                                                                    <SharePoint:EncodedLiteral ID="EncodedLiteral19" runat="server" Text="<%$Resources:wss,viewtype_ganttview%>" EncodeMethod='HtmlEncode' />
                                                                </a>
                                                                <br />
                                                                <SharePoint:EncodedLiteral ID="EncodedLiteral20" runat="server" Text="<%$Resources:wss,viewtype_ganttviewdescription%>" EncodeMethod='HtmlEncode' />
                                                                <br />
                                                                &#160;
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <%RenderPermissionView(); %>
                                            </tr>
                                            <%
                                              }
                                            %>
                                            <!-- Rich DB View-->
                                            <%
                                                if (!fHideRichDbViewOption && spList.DefaultView != null)
                                                {
                                            %>
                                            <tr>
                                                <td class="ms-vb2">
                                                    <table>
                                                        <tr id="idAccViewRow" style="display: none">
                                                            <td valign="top" width="1%">
                                                                <table border="0" cellspacing="0" cellpadding="0" style="padding-top: 2px">
                                                                    <tr>
                                                                        <td>
                                                                            <a href="#" onclick=<% SPHttpUtility.NoEncode("\"ExportToDatabase('" + SPHttpUtility.EcmaScriptStringLiteralEncode(spWeb.Url) + "/_vti_bin/owssvr.dll', '" + spList.ID.ToString("B").ToUpperInvariant() + "', '" + spList.DefaultView.ID.ToString("B").ToUpperInvariant() + "', 'true');return false;\"", Response.Output); %> tabindex='-1'>
                                                                                <img id="idAccViewImg" src="/_layouts/images/grid.gif" border="0">
                                                                                </img>
                                                                            </a>
                                                                        </td>
                                                                        <td width="4px">
                                                                            <img src="/_layouts/images/blank.gif" width='4' height='1' alt="" /></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td class="ms-vb" width="99%" valign="top" id="Td12">
                                                                <a id="idAccViewTitle" href="#" onclick=<% SPHttpUtility.NoEncode("\"ExportToDatabase('" + SPHttpUtility.EcmaScriptStringLiteralEncode(spWeb.Url) + "/_vti_bin/owssvr.dll', '" + spList.ID.ToString("B").ToUpperInvariant() + "', '" + spList.DefaultView.ID.ToString("B").ToUpperInvariant() + "', 'true');return false;\"", Response.Output); %>></a>
                                                                <br />
                                                                <span id="idAccViewCmt"></span>
                                                                <br />
                                                                &#160;
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <%RenderPermissionView(); %>
                                            </tr>
                                            <%
                                                    } 
                                            %>
                                            <!-- Custom View in Designer-->
                                            <%
                                                if (fShowCustomViewOption)
                                                {
                                            %>
                                            <tr>
                                                <td class="ms-vb2">
                                                    <table>
                                                        <tr>
                                                            <td valign="top" width="1%">
                                                                <table border="0" cellspacing="0" cellpadding="0" style="padding-top: 2px">
                                                                    <tr>
                                                                        <td>
                                                                            <a href="javascript:;" onclick=<%SPHttpUtility.NoEncode("\"EditInSPD('" + SPHttpUtility.EcmaScriptStringLiteralEncode(spWeb.Url) + "/?Cmd=NewView&ListId=" + spList.ID.ToString("B").ToUpperInvariant() + "', 'true');return false;\"", Response.Output); %> id='onetCategoryCustomimg'>
                                                                                <img id="Img11" runat="server" border="0" alt="<%$Resources:wss,viewtype_customviewdescription%>" src="/_layouts/images/sharepointdesigner32.png" />
                                                                            </a>
                                                                        </td>
                                                                        <td width="4px">
                                                                            <img src="/_layouts/images/blank.gif" width='4' height='1' alt="" /></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td class="ms-vb" width="99%" valign="top" id="Td13">
                                                                <a href="javascript:;" onclick=<%SPHttpUtility.NoEncode("\"EditInSPD('" + SPHttpUtility.EcmaScriptStringLiteralEncode(spWeb.Url) + "/?Cmd=NewView&ListId=" + spList.ID.ToString("B").ToUpperInvariant() + "','true');return false;\"", Response.Output); %> id='onetCategoryCustom'>
                                                                    <SharePoint:EncodedLiteral ID="EncodedLiteral21" runat="server" Text="<%$Resources:wss,viewtype_customview%>" EncodeMethod='HtmlEncode' />
                                                                </a>
                                                                <br />
                                                                <SharePoint:EncodedLiteral ID="EncodedLiteral22" runat="server" Text="<%$Resources:wss,viewtype_customviewdescription%>" EncodeMethod='HtmlEncode' />
                                                                <br />
                                                                &#160;
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <%RenderPermissionView(); %>
                                            </tr>
                                            <%
                                                }
                                            %>
                                    </table>
                                </td>
                            </tr>

                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>

</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    Application Page
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    My Application Page
</asp:Content>
